]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Remove stale references to global.screen
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 11 Jul 2018 16:46:49 +0000 (18:46 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Wed, 11 Jul 2018 16:46:49 +0000 (18:46 +0200)
(Re)introduced by the previous patch.

js/ui/keyboard.js

index 9003720723038820f428d11c7b0610fb44cee622..41942eeaa22eefc80e19d97b06aff2aa199ed200 100644 (file)
@@ -492,8 +492,8 @@ var FocusTracker = new Lang.Class({
         this._currentWindow = null;
         this._currentWindowPositionId = 0;
 
-        global.screen.get_display().connect('notify::focus-window', () => {
-            this._setCurrentWindow(global.screen.get_display().focus_window);
+        global.display.connect('notify::focus-window', () => {
+            this._setCurrentWindow(global.display.focus_window);
             this.emit('window-changed', this._currentWindow);
         });